package android.longs.study.mytest.dao;

import java.util.List;

import android.longs.study.mytest.model.CommonUserSubjectModel;


public interface CommonSubDao {

    void addTestModel(CommonUserSubjectModel model);
    void updateTestModel(CommonUserSubjectModel model);
    
    //查询所有的数据 
    List<CommonUserSubjectModel> queryAllTestModels();
    //分页查询 所有
    List<CommonUserSubjectModel> queryAllTestModels(int start);
    
    CommonUserSubjectModel queryModelFormUid(String uid);
    
    CommonUserSubjectModel queryModelFormId(String id);
    
    
}
